-- XSD schema extracted from ITU-T H.627 (08/2020)
<?xml version="1.0" encoding="utf-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<choice maxOccurs="unbounded">
<element name="Response">
<complexType>
<sequence>
<!-- The query request response message is shown as follows.-->
<!-- Command type: preset position query (required)-->
<element name="CmdType" fixed="PresetQuery"/>
<!-- Command SN (required) -->
<element name="SN" type="integer" minInclusive="1"/>
<!-- Query of target device ID (required) -->
<element name="DeviceID" type="deviceIDType"/>
<!-- Total of query results (required) -->
<element name="SumNum" type="integer"/>
<!-- Device preset position list, used for preset position query between platforms or between platform and device (required) -->
<element name="PresetList">
<complexType>
<sequence>
<!-- Preset position record of current configuration, not filled in if the preset position is not configured -->
<element name="Item" minOccurs="0" maxOccurs=" unbounded ">
<complexType>
<sequence>
<!-- Preset position ID (required) -->
<element name="PresetID" type="string"/>
<!-- Preset position name (required) -->
<element name="PresetName" type="string"/>
</sequence>
</complexType>
</element>
<!-- Number of list items, the value is 0 if the preset position is not configured (required) -->
<attribute name="Num" type="integer"/>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
</element>
</choice>
</schema>